﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JTZY.Model.Order.Dto
{
    public class UpdateVipPriceDto
    {
        public List<JTzYInfo> categories { get; set; }
        /// <summary>
        /// 0 各级用户购买商品时，价格=成本价×（1+增值比例)
        /// 1 各级用户购买商品时，价格=成本价+固定增值价格
        /// </summary>
        public string type { get; set; }
        public decimal vip0 { get; set; }
        public decimal vip1 { get; set; }
        public decimal vip2 { get; set; }
        public decimal vip3 { get; set; }
        public decimal vip4 { get; set; }
        /// <summary>
        /// 0仅对未设置销售价格商品生效  1对所有商品生效
        /// </summary>
        public string range { get; set; }
        public long UserId { get; set; }
    }

    public class JTzYInfo 
    {
        public int id { get; set; }
        public string name { get; set; } = string.Empty;
    }
}
